SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40866569c6ad5d27e99c1b7b8dc6f92e7383b8437643a43a4c2681986667eb81' 
  AND token = 'ImjTWFcmzeiah07hArvg1/MTs1X3dgOs7RcSobwBRpo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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