SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17312dc16371cc670e52cf5bd8df5d44bb6723bbb69ecf2080b4273e6824a9c1' 
  AND token = '5x0egmFpO0i67saHxVkqLTz3ZJYiTmM2/qzgB0t2aus=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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