SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1dce8f90e0d5371655384fc542dbc9b969fb93ced576f2bbfa6d6bd55ceb1751' 
  AND token = 'QcpSxnJ29KAmpzl+Go56IaMy+vOHLL+GPnnqEBhLuOk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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