SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fab4380ffbf472fa28883c3a8c30d6d18557ea3bb6d2c638cc51f157fc35198d' 
  AND token = 'rGhMPoCNJb4Ji1lFXArw/qUiDsbLBN0o1a3W7DZdtmA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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