SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca4ad8b6e1fe82791b8fcafe2508bd3ad59bdeaf182b227e7a0a7674c99a9ba4' 
  AND token = 'XBUZjc7feFJrvilCul+2S2SK4VE8z5zp4Ql1v/ilpgY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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