SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7c6b0ad9ed221f23987ffd92bdda4102859790e4349289ed4f75c5c6f0147bc' 
  AND token = 'c9TFGp2BigUn3rCBfBVJUxh6rWo8saOBcpHcQ0fE8UA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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