SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4051f15f62098dc0f2ce3f20a8abedf3bfec227b9028b26dd3ef2c792f2cd416' 
  AND token = '98EqHsoucd6l1aEie040QuDxGFC50QZF0PkUmNmMJHk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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