SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae58b0b3dceee6cac4a1a04ce6238216c4cacdc6a72c395b2679d22bf037fbca' 
  AND token = 'fMHbsXxul1mdkAzlEj40Jz6NU59TVHejYJEuJKRl+Rk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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