SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5341b8b5b943d44bcc94282ecbb5751c3b8ec28d6d054eb2872720960d6238ae' 
  AND token = 'ZnAEJx3bR+LacGiXqKcd8Aq66Mw+SgsEMzcAZZzx2Pk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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