SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bd7e0582384e433efbe53d00eafdc1930072aa28845bbbd2b101eb309c7e549' 
  AND token = 'Re4rZ3WQJTe0xYmPKuxFIpyQmxVHVKwGK1s3YFJLtWA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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