SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3e238eba13179c05218a465e232d3d14e27e49f10fcdb14902bd8b7186437c1' 
  AND token = 'mokncqTx+jlu293wqnaXgHuJnwy92t+l9Nj3RQ0rIas=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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