SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58cffa889f8040ebd8badc9c4294107167e95781cb0157de6b9e67516ed94f5f' 
  AND token = '5OG+GL87C//3gx0N271mFrBnfa+/hwOWmLj3ld6Mhqc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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