SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4d8a8dfadf217a58f9c2d1b9c70570720b27d64a0af7af2c9dbfbeadaf6be4e' 
  AND token = 'pjYzW60U5BkhC4Cm/gDUoxGV0YNV0lnfvQnLS/28Yeg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}