SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b64f916301956fdc5f1d0b789187e59a60c43ff3e155864177a3136801c373e' 
  AND token = 'mAp9DgPJl4rGaRJl19Xhl5YawxUtjOs174dpmoMHtGQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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