SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4237d799c5acad2a20055005e310587ce491a30293928d557e601bb17725eac8' 
  AND token = 'gGDxuaxB/LwCGUqRbDu3ci8OaCNxM08/2tCkBJmnaCk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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