SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6558a0072c92c9d0f7baa86aa4b6967931f678a082607475b3daf191dcb1fb7f' 
  AND token = 'z7RgYYbEFYgNj7wPYuBsylkT1jUOZokIEhiQIAHmO/c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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